import request from '@/utils/request'

// 查询收费统计列表
export function listCharge_statistics(query) {
  return request({
    url: '/system/charge_statistics/list',
    method: 'get',
    params: query
  })
}

// 查询收费统计详细
export function getCharge_statistics(chargeId) {
  return request({
    url: '/system/charge_statistics/' + chargeId,
    method: 'get'
  })
}

// 新增收费统计
export function addCharge_statistics(data) {
  return request({
    url: '/system/charge_statistics',
    method: 'post',
    data: data
  })
}

// 修改收费统计
export function updateCharge_statistics(data) {
  return request({
    url: '/system/charge_statistics',
    method: 'put',
    data: data
  })
}

// 删除收费统计
export function delCharge_statistics(chargeId) {
  return request({
    url: '/system/charge_statistics/' + chargeId,
    method: 'delete'
  })
}
